﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UC_ChiTietSach.ascx.cs" Inherits="UC_USER_UC_ChiTietSach" %>
   <style type="text/css">
       .auto-style1 {
           width: 100%;
       }
       .auto-style7 {
           width: 109px;
           font-weight: 700;
       }
       .auto-style8 {
           width: 100%;
           height: 243px;
       }
       .auto-style9 {
           color: #FF0066;
       }
   </style>

       <div id="wp-centercol_inner">
    <div id="wp-pos-breadcrumbs">
        <span class="breadcrumbs pathway clearafter"><a href="Default.aspx" class="home"></a>
            <div id="crumbs">
                <span style ="color:red">CHI TIẾT SÁCH</span>
            </div>
        </span>
    </div>
       <br />
       <asp:DataList ID="DataList1" runat="server" Width="100%">
           <ItemTemplate>
               <table class="auto-style1">
                   <tr>
                       <td colspan="2" style="text-align: left; font-size: 17px;">
                           <table class="auto-style1" style="width: 100%">
                               <tr>
                                   <td>
                                       <asp:Image ID="Image1" runat="server" Height="261px" ImageUrl='<%# Eval("Hinh", "~/Images/Sach/{0}") %>' style="text-align: left" Width="197px" />
                                   </td>
                                   <td>
                                       <table class="auto-style8">
                                           <tr>
                                               <td><strong>Tên sách:</strong></td>
                                               <td>
                                                   <asp:Label ID="lblTenSach" runat="server" Font-Size="18px" style="color: #00FF00; font-weight: 700" Text='<%# Eval("TenSach") %>'></asp:Label>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td><strong>Giá sách:</strong></td>
                                               <td>
                                                   <asp:Label ID="lblGiaSach" runat="server" Font-Size="18px" style="color: #FF0066; font-weight: 700" Text='<%# Eval("giatien") %>'></asp:Label>
                                                   &nbsp;<span class="auto-style9">VNĐ</span></td>
                                           </tr>
                                           <tr>
                                               <td><strong>Tác giả:</strong></td>
                                               <td>
                                                   <asp:Label ID="lblTacGia" runat="server" Font-Size="18px" Text='<%# Eval("tacgia") %>'></asp:Label>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td><strong>Nhà xuất bản:</strong></td>
                                               <td>
                                                   <asp:Label ID="lblNhaXuatBan" runat="server" Font-Size="18px" Text='<%# Eval("NhaXuatBan") %>'></asp:Label>
                                               </td>
                                           </tr>
                                       </table>
                                   </td>
                               </tr>
                           </table>
                       </td>
                   </tr>
                   <tr>
                       <td class="auto-style7" style="font-size: 18px">Mô tả:</td>
                       <td>
                           <asp:Label ID="lblMoTa" runat="server" Text='<%# Eval("Mota") %>' Font-Size="18px"></asp:Label>
                       </td>
                   </tr>
                   <tr>
                       <td colspan="2">
                           <asp:ImageButton ID="ImageButton1" runat="server" Height="29px" ImageUrl="~/Images/User/mua.jpg" Width="426px" OnClick="ImageButton1_Click1" PostBackUrl='<%# Eval("MaSach","~/Page_User/ThemGioHang.aspx?MaSach={0}") %>' />
                       </td>
                   </tr>
               </table>
           </ItemTemplate>
       </asp:DataList>
</div>

   